package com.nb.service.impl;

import com.nb.mapper.HospitalMapper;
import com.nb.service.HospitalService;
import com.nb.vo.hospital.HospitalInfoVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class HospitalServiceImpl implements HospitalService {
    @Autowired
    private HospitalMapper hospitalMapper;

    @Override
    public HospitalInfoVO getHospitalInfo() {
        HospitalInfoVO hospitalInfoVO = hospitalMapper.getHospitalInfo();

        return hospitalInfoVO;
    }
}
